package com.xjrsoft.module.workflow.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("xjr_nwf_relation")
@ApiModel(value = "流程关联对象", description = "流程关联对象")
public class XjrNwfRelation implements Serializable {

    @TableId("F_Id")
    private String id;

    @TableField(value = "F_NwfRelationCode")
    private String nwfRelationCode;

    @TableField(value = "F_NwfRelationName")
    private String nwfRelationName;

    @TableField(value = "F_ModuleId")
    private String moduleId;

    @TableField(value = "F_CreateDate", fill = FieldFill.INSERT)
    private LocalDateTime createDate;

    @TableField(value = "F_CreateUserId", fill = FieldFill.INSERT)
    private String createUserId;

    @TableField(value = "F_CreateUserName", fill = FieldFill.INSERT)
    private String createUserName;

    @TableField(value = "F_ModifyDate", fill = FieldFill.UPDATE)
    private LocalDateTime modifyDate;

    @TableField(value = "F_ModifyUserId", fill = FieldFill.UPDATE)
    private String modifyUserId;

    @TableField(value = "F_ModifyUserName", fill = FieldFill.UPDATE)
    private String modifyUserName;

    @TableField(value = "F_NwfSchemeType")
    private Integer nwfSchemeType;

    @TableField(value = "F_SettingJson")
    private String settingJson;

    private static final long serialVersionUID = 1L;
}
